<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href='<?php echo  base_url(); ?>css/main.css' type="text/css"/>   

</head>

<body>
 <div  class="content">
   <form  method="post">
   
   	<table>
    	<tr>
        	<td class="right">分类名称</td>
            <td class="left"><input type="text" name="type_name"  value="<?php echo $result['type_name']?>"/></td>
        </tr>
        <tr>
            <td class="right">是否置顶</td>
            <td class="left"><input type="radio" name="is_top" value="1" <?php if($result['is_top']==1){ ?> checked="checked"<?php } ?> />是<input type="radio" name="is_top" value="0" <?php if($result['is_top']==0){ ?>checked="checked" <?php } ?> />否</td>
        </tr>
        <tr>
        	<td colspan="2" align="center"><?php if($act=='add'){?> <input type="submit" value="添加" /><?php }elseif($act=='edit'){ ?><input type="submit" value="修改" /><?php }?></td>
           
        </tr>
       <!-- <tr>
        	<td></td>
            <td></td>
        </tr>-->
    </table>
   </form>
</div>
</body>
</html>